package day5;

/**
 * @author oldliu
 * @since 1.0
 */
public class ShiftInt {
    public static void main(String[] args) {
        int i=-15;
        //移位 ：左移，右移，无符号右移
        int j1=i>>2;
        System.out.println(j1);
        int j2=i<<2;
        System.out.println(j2);

        int j3=i>>>2;
        System.out.println(j3);
    }
}
